package com.soso.confidant.service;

import java.util.ArrayList;

import com.soso.confidant.dao.TasteDao;
import com.soso.confidant.dao.TasteDaoImpl;
import com.soso.confidant.pojo.Amass;

public class TasteServiceImpl implements TasteService {
	private static TasteServiceImpl tasteserviceimpl = new TasteServiceImpl();
	private TasteDao tastedao = new TasteDaoImpl();
	private TasteServiceImpl(){}
	public static TasteServiceImpl getInstance(){
		return tasteserviceimpl;
	}
	public ArrayList<Amass> getAmasses(ArrayList<String> words, String openid, int max) {
		return tastedao.getAmasses(words, openid, max);
	}

}
